﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WindowsFormsApplication1
{
    class Sugar
    {

        String name;
        Double mass;
        Double hydroWeight;

        public Sugar()
        {
            name = " ";
            
        }

        public Sugar(String name)
        {
            this.name = name;
        }

        public Sugar(String name, Double mass)
        {
            this.name = name;
            this.mass = mass;
        }

        public Sugar(String name, Double mass, Double hydroWeight)
        {
            this.name = name;
            this.mass = mass;
            this.hydroWeight = hydroWeight;

        }

        ///<summary>
        /// returns the name of the Sugar
        ///</summary>
        public String getName()
        {
            return this.name;
        }
    }
}
